package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "bas_user_invite_income")
public class BasUserInviteIncome implements Serializable {
    @Id
    private Integer id;

    /**
     * 邀请人
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 被邀请人
     */
    @Column(name = "invite_id")
    private Integer inviteId;

    /**
     * 收益
     */
    private BigDecimal income;

    /**
     * 收益类型
     */
    @Column(name = "income_type")
    private Integer incomeType;

    /**
     * 费用
     */
    private BigDecimal cost;

    /**
     * 添加时间
     */
    private Date addtime;

    /**
     * 添加IP
     */
    private String addip;

    private Integer dealStatus;

    private String orderNo;

    private Integer investId;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取邀请人
     *
     * @return user_id - 邀请人
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置邀请人
     *
     * @param userId 邀请人
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取被邀请人
     *
     * @return invite_id - 被邀请人
     */
    public Integer getInviteId() {
        return inviteId;
    }

    /**
     * 设置被邀请人
     *
     * @param inviteId 被邀请人
     */
    public void setInviteId(Integer inviteId) {
        this.inviteId = inviteId;
    }

    /**
     * 获取收益
     *
     * @return income - 收益
     */
    public BigDecimal getIncome() {
        return income;
    }

    /**
     * 设置收益
     *
     * @param income 收益
     */
    public void setIncome(BigDecimal income) {
        this.income = income;
    }

    /**
     * 获取收益类型
     *
     * @return income_type - 收益类型
     */
    public Integer getIncomeType() {
        return incomeType;
    }

    /**
     * 设置收益类型
     *
     * @param incomeType 收益类型
     */
    public void setIncomeType(Integer incomeType) {
        this.incomeType = incomeType;
    }

    /**
     * 获取费用
     *
     * @return cost - 费用
     */
    public BigDecimal getCost() {
        return cost;
    }

    /**
     * 设置费用
     *
     * @param cost 费用
     */
    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    /**
     * 获取添加时间
     *
     * @return addtime - 添加时间
     */
    public Date getAddtime() {
        return addtime;
    }

    /**
     * 设置添加时间
     *
     * @param addtime 添加时间
     */
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    /**
     * 获取添加IP
     *
     * @return addip - 添加IP
     */
    public String getAddip() {
        return addip;
    }

    /**
     * 设置添加IP
     *
     * @param addip 添加IP
     */
    public void setAddip(String addip) {
        this.addip = addip;
    }

    public Integer getDealStatus() {
        return dealStatus;
    }

    public void setDealStatus(Integer dealStatus) {
        this.dealStatus = dealStatus;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getInvestId() {
        return investId;
    }

    public void setInvestId(Integer investId) {
        this.investId = investId;
    }
}